//
//  XMLParser.h
//  ParkGroup
//
//  Created by harveynash on 7/27/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class LoginState;
@class XMLDataCommon;

@interface XMLParser : NSObject <NSXMLParserDelegate> {
    // use for login
    LoginState *loginState;
    
    // common xml return data
    XMLDataCommon *xmlData;
    
    NSString *strCurrentElementValue;
}

@property (nonatomic, strong) LoginState *loginState;
@property (nonatomic, strong) XMLDataCommon *xmlData;
@property (nonatomic, copy) NSString *strCurrentElementValue;

- (XMLParser *) initXMLParser:(NSInteger) parseType;
- (void) doParse:(NSData *) data;

@end
